Skip to content

ObservableCollectionAdaptor(int, bool, bool) constructor

Defined in

Type: ObservableCollectionAdaptor Namespace: DynamicData.Binding Assembly: DynamicData.dll

Applies to

net10.0, netstandard2.0

Overloads

  1. public ObservableCollectionAdaptor(int refreshThreshold = 25, bool useReplaceForUpdates = true, bool resetOnFirstTimeLoad = true)

  2. public ObservableCollectionAdaptor(BindingOptions options)

1. Overload

public ObservableCollectionAdaptor(int refreshThreshold = 25, bool useReplaceForUpdates = true, bool resetOnFirstTimeLoad = true)

View source

Summary: Represents an adaptor which is used to update observable collection from a change set stream.

Parameters

NameTypeDescription
refreshThreshold = 25intThe threshold before a reset notification is triggered.
useReplaceForUpdates = trueboolUse replace instead of remove / add for updates.
resetOnFirstTimeLoad = trueboolShould a reset be fired for a first time load.This option is due to historic reasons where a reset would be fired for the first time load regardless of the number of changes.

Remarks

Initializes a new instance of the ObservableCollectionAdaptor class.

2. Overload

public ObservableCollectionAdaptor(BindingOptions options)

View source

Summary: Initializes a new instance of the ObservableCollectionAdaptor class.

Parameters

NameTypeDescription
options[BindingOptions](#The binding options.